$execute unless data storage dab:system gameContents.arrow[{id:"$(id)"}] run return run tellraw @a [{"text": "指定ID物品不存在","color":"red"}]

$data modify storage dab:system temp.settings.count set value $(count)
$data modify storage dab:system temp.settings merge from storage dab:system gameContents.arrow[{id:"$(id)"}]
function dab:system/register/arrow/item_compiler/compiler with storage dab:system temp.settings
data remove storage dab:system temp.settings